import request from './Http'
// 歌单评论
// export function getPlaylistsComments(id,sortType){
//     return request({
//         // /comment/new?type=2&id=5048374812&sortType=2
//         url:"/comment/new?type=2&id="+id+'&sortType='+sortType,
//         method:"get"
//     })
// }
// 歌单评论
export function getPlaylistsComments(id){
    return request({
        // /comment/new?type=2&id=5048374812&sortType=2
        url:"/comment/playlist?id="+id,
        method:"get"
    })
}
//评论点赞
export function commentsOnTheThumbUp(playlistId,id,type){
    return request({
        url:'/comment/like?id='+playlistId+'&cid='+id+'&t='+type+'&type=2',
        method:"get"
    })
}
//发送评论
export function toSendComments(playlistId,keword){
    return request({
        url:'/comment?t=1&type=2&id='+playlistId+'&content='+keword,
        method:"get"
    })
}

